
/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/
#ifndef BAREOS_SRC_DIRD_NDMP_SLOT2ELEMADDR_H_
#define BAREOS_SRC_DIRD_NDMP_SLOT2ELEMADDR_H_

namespace directordaemon {

slot_number_t GetElementAddressByBareosSlotNumber(
    smc_element_address_assignment* smc_elem_aa,
    slot_type_t slot_type,
    slot_number_t slotnumber);

slot_number_t GetBareosSlotNumberByElementAddress(
    smc_element_address_assignment* smc_elem_aa,
    slot_type_t slot_type,
    slot_number_t element_addr);

} /* namespace directordaemon */
#endif  // BAREOS_SRC_DIRD_NDMP_SLOT2ELEMADDR_H_
